package com.czy.blog.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import com.czy.blog.entity.Menu;

public interface MenuDao extends CrudRepository<Menu, String>,JpaSpecificationExecutor<Menu>{
	List<Menu> findByParent(Menu parent);
	Menu findByMenuCode(String menuCode);
}
